/**
 * Created by Saxon Cheng on 2017/3/16.
 */
import * as Type from '../constants/ActionType';

export function fetchProductStart(workId,workType,userId,payType) {
    return {
        type: Type.FETCH_PRODUCTID_START,
        workId,
        workType,
        userId,
        payType
    };
}

export function fetchProductERROR(errMsg) {
    return {
        type: Type.FETCH_PRODUCTID_ERROR,
        errMsg
    };
}



export function fetchProductDone(params) {
    return {
        type: Type.FETCH_PRODUCTID_DONE,
        params
    };
}
